<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/pages/common/taglibs.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
	<title>广东工业大学招生办-招生政策</title>
	<link rel="stylesheet" type="text/css" href="${ctx}/css/reset.css" />
	<link rel="stylesheet" type="text/css" href="${ctx}/css/common.css" />
	<link rel="stylesheet" type="text/css" href="${ctx}/css/home.css" />
	<link rel="stylesheet" type="text/css" href="${ctx}/css/page.css" />
	<script type="text/javascript" src="${ctx}/js/showTime.js"></script>
	<script src="${ctx}/js/jquery.min.js" type="text/javascript"></script>
	<script src="${ctx}/js/page.js" type="text/javascript"></script>
		<script type="text/javascript">
		$(document).ready(function(){
			$(".list-time").each(function(){
				//alert($(this).html());
				$(this).html($(this).html().substr(0, 10));	
			});
		});
	</script>
  </head>
  
  <body>
  	<div class="wrapper">
		<jsp:include page="../../../header.jsp" flush="true" /> 

		<!--main-content-->
		<div id="main-content-child-page" class="w960 auto">
			<!--Breadcrumb Trail-->
			<div class="breadcurmb-trail mt5 mb10">
				您的位置：<a href="${ctx}/index.html">网站首页</a>-招生政策
			</div>
			<div class="content clearfix">
				<div class="f16 pt10 pb10 ml20 mr20 mb20 tc tip"><a class="red">温馨提示：</a>请输入关键字进行搜索</div>
				<div class="content-title f20 rel l">
					招生政策
				</div>
				<div class="content-pic1 rel"></div>
				<div class="content-pic2 rel"></div>
				<div class="content-pic3 rel l"></div>		
				<form name="search" id="search" class="search r" method="post" action="${ctx}/base/admission-policy.action" style="margin-top:-20px">
					<input type="text" name="keywords" value="${keywords }" />
					<input type="submit" name="" value="搜索" class="search-button"/>
				</form>
				<form id="mainForm" action="${ctx}/base/admission-policy.action" method="post">
				<div class="content-list rel f14 clearfix">
					<input type="hidden" name="page.pageNo" id="pageNo" value="${page.pageNo}"/>
					<input type="hidden" name="keywords" value="${keywords}"/>
					<ul>						
						<s:iterator value="page.result">
						<li><img src="${ctx }/images/home_point3.png" class="li-point" /><a href="${ctx}/base/admission-policy!input.action?id=${id}" title="${title}">${title}</a><span class="list-time">${inputTime}</span></li>
						</s:iterator>
					</ul>
				</div>
				<div class="next-page tc f14 mt40 pb20">
					第${page.pageNo}页, 共${page.totalPages}页
			<a href="javascript:jumpPage(1)">首页</a>
			<s:if test="page.hasPre"><a href="javascript:jumpPage(${page.prePage})">上一页</a></s:if>
			<s:if test="page.hasNext"><a href="javascript:jumpPage(${page.nextPage})">下一页</a></s:if>
			<a href="javascript:jumpPage(${page.totalPages})">末页</a>
				</div>
				</form>
			</div>
		</div>
<div style="width:960px;height:20px; background:#e5e5e5"></div>
		<jsp:include page="../../../footer.jsp" flush="true" /> 
	</div>	 
		<script type="text/javascript">
		$(document).ready(function(){
			//$(".list-time").html($(".list-time").html().substr(0, 10));			
						
			$(".list-time").each(function(){
				//alert($(this).html());
				$(this).html($(this).html().substr(0, 10));	
			});
		});
	</script> 	
</body>
</html>
